<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragment/Headfragment::Headfragment"></head>
<body>
<div class="page-holder d-flex align-items-center">
    <div class="container">
        <div class="row align-items-center py-5">
            <div class="col-5 col-lg-7 mx-auto mb-5 mb-lg-0">
                <div class="pr-lg-5"><img src="img/illustration.svg" alt="" class="img-fluid"></div>
            </div>
            <div class="col-lg-5 px-lg-4">
                <h1 class="text-base text-primary text-uppercase mb-4">Easier to connect</h1>
                <div class="register">
                    <h2 class="mb-4">Welcome E-DB!</h2>
                    <a href="register" class="auth-link text-black">没有账号？点此注册</a>
                </div>


                <form id="loginForm" action="user/login" method="post" class="mt-4">
                    <div class="form-group mb-4" th:if="${not #strings.isEmpty(session.loginmsg)}">
                        <div style="color: #f55b5b">帐号或者密码错误</div>
                    </div>
                    <p style="color: #f55b5b" th:text="${session.updatepasswordres}" th:if="${not #strings.isEmpty(session.updatepasswordres)}"></p>
                    <div class="form-group mb-4">
                  <input type="text" name="email" placeholder="手机号或邮箱"
                         class="form-control  text-violet" value="470697753@qq.com">
                </div>
                  <div class="form-group mb-4">
                    <input type="password" name="password" placeholder="密码"
                           class="form-control  text-violet" value="123456">
                  </div>
                    <div class="form-group mb-4">
                        <div class="custom-control custom-checkbox">
                          <div class="find-password"><div>
                            <input id="customCheck1" type="checkbox" checked class="custom-control-input">
                            <label for="customCheck1" class="custom-control-label">记住密码</label>
                          </div>
                            <a href="findpassword" class="auth-link text-black">已有帐号？找回密码</a></div>

                        </div>
                    </div>
                    <button type="submit" class="btn btn-primary shadow px-5">开启易连接</button>

                </form>
            </div>
        </div>
        <!--        <p class="mt-5 mb-0 text-gray-400 text-center">Copyright &copy; 2019.Company name All rights reserved.<a target="_blank" href="http://sc.chinaz.com/moban/">&#x7F51;&#x9875;&#x6A21;&#x677F;</a> & Your company</p>-->
        <!-- Please do not remove the backlink to us unless you support further theme's development at https://bootstrapious.com/donate. It is part of the license conditions. Thank you for understanding :)                 -->
    </div>
</div>
<!-- JavaScript files-->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/popper.js/umd/popper.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="vendor/jquery.cookie/jquery.cookie.js"></script>
<script src="vendor/chart.js/Chart.min.js"></script>
<script src="js/js.cookie.min.js"></script>
<script src="js/front.js"></script>
</body>
</html>